<?php

declare (strict_types=1);

namespace app\common\enum\exchange;

use app\common\enum\EnumBasics;

/**
 * 枚举类：兑换码有效期
 * Class ApplyRange
 * @package app\common\enum\coupon
 */
class LogStausType extends EnumBasics
{
    // 已兑换
    const ALL = 10;

    // 已核销
    const SOME = 20;

    /**
     * 获取枚举类型值
     * @return array
     */
    public static function data(): array
    {
        return [
            self::ALL => [
                'name' => '已兑换',
                'value' => self::ALL
            ],
            self::SOME => [
                'name' => '已核销',
                'value' => self::SOME
            ]
        ];
    }
}
